package com.ruoyi.funding.mapper;

import java.util.List;
import com.ruoyi.funding.domain.FundingExpenditure;

/**
 * 资金支出记录 Mapper接口
 * 
 * @author ycl
 * @date 2025-01-06
 */
public interface FundingExpenditureMapper 
{
    /**
     * 查询资金支出记录 
     * 
     * @param expenditureId 资金支出记录 主键
     * @return 资金支出记录 
     */
    public FundingExpenditure selectFundingExpenditureByExpenditureId(Long expenditureId);

    /**
     * 查询资金支出记录 列表
     * 
     * @param fundingExpenditure 资金支出记录 
     * @return 资金支出记录 集合
     */
    public List<FundingExpenditure> selectFundingExpenditureList(FundingExpenditure fundingExpenditure);

    /**
     * 新增资金支出记录 
     * 
     * @param fundingExpenditure 资金支出记录 
     * @return 结果
     */
    public int insertFundingExpenditure(FundingExpenditure fundingExpenditure);

    /**
     * 修改资金支出记录 
     * 
     * @param fundingExpenditure 资金支出记录 
     * @return 结果
     */
    public int updateFundingExpenditure(FundingExpenditure fundingExpenditure);

    /**
     * 删除资金支出记录 
     * 
     * @param expenditureId 资金支出记录 主键
     * @return 结果
     */
    public int deleteFundingExpenditureByExpenditureId(Long expenditureId);

    /**
     * 批量删除资金支出记录 
     * 
     * @param expenditureIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFundingExpenditureByExpenditureIds(Long[] expenditureIds);
}
